import Http from '../http';


export const detailMe = function () {
    return Http.get("/my-user/detail")
};

export const editMe = function (data: object) {
    return Http.post("/my-user/edit",data)
};

export const resetMyPassword = function (data: object) {
    return Http.post("/my-user/resetPassword",data)
};

export const getMyUserInfo = function () {
    return Http.get("/my-user/getMyUserInfo")
};

export const bindWx = function () {
    return Http.get("/wx-user/bind/qrcode")
};

export const unbindWx = function () {
    return Http.post('/wx-user/bind/unbindWx')
};

export const wxStatus = function () {
    return Http.get('/wx-user/bind/wxStatus')
};